import { Button, Modal } from 'antd'
import { useState } from 'react'

const Grant = ({ isGrantOpen, setIsGrantOpen }) => {
  const handleOk = () => {
    setIsGrantOpen(false)
  }
  const handleCancel = () => {
    setIsGrantOpen(false)
  }
  return (
    <Modal
      title="Basic Modal"
      open={isGrantOpen}
      onOk={handleOk}
      onCancel={handleCancel}
    >
      <p>Some contents...</p>
      <p>Some contents...</p>
      <p>Some contents...</p>
    </Modal>
  )
}

export default Grant
